package com.weixing.mall.provider.model.dto;

import com.weixing.mall.base.enums.IsEnableEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @ClassName BrandDto
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/8/6
 * @Version 1.0
 **/
@Data
@ApiModel(description = "商品品牌")
public class BrandDto {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "中文名称")
    @NotNull(message = "中文名称不能为空")
    private String zhName;

    @ApiModelProperty(value = "英文名称")
    private String enName;

    @ApiModelProperty(value = "logo")
    private String logo;

    @ApiModelProperty(value = "简介")
    private String desp;

    @ApiModelProperty(value = "启用/禁用")
    @NotNull(message = "请输入正确的状态")
    private IsEnableEnum isEnable;

    @ApiModelProperty(value = "官网地址")
    private String officialAddr;

    @ApiModelProperty(value = "排序")
    private Integer orderBy;
}
